package com.helsinki.service;

import com.github.pagehelper.PageInfo;
import com.helsinki.pojo.Permission;
import com.helsinki.pojo.Role;

import java.util.List;

public interface RoleService {
    PageInfo<Role> queryAll(Integer pageNum, Integer pageSize);

    List<Role> findAll();

    void addRole(Role role);

    void updateRole(Role role);

    Role queryById(String id);


    void updateRolePermission(Role role);

    Boolean deleteById(String id);
}
